package com.example.app_mqttclient.obj;

import java.io.Serializable;

public class MqttData implements Serializable {

    private String publishTopic = null;
    private String subscribeTopic = null;

    public MqttData() {

    }

    public MqttData(String pubTopic, String subTopic) {
        this.publishTopic = pubTopic;
        this.subscribeTopic = subTopic;
    }

    public String getPublishTopic() {
        return publishTopic;
    }

    public void setPublishTopic(String publishTopic) {
        this.publishTopic = publishTopic;
    }

    public String getSubscribeTopic() {
        return subscribeTopic;
    }

    public void setSubscribeTopic(String subscribeTopic) {
        this.subscribeTopic = subscribeTopic;
    }
}
